package com.pureut.production.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.production.domain.OperationInformation;
import com.pureut.production.domain.dto.OperationInformationDto;
import com.pureut.production.domain.vo.OperationInformationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023/2/6 15:11
 * @Desc: 工序信息
 */
@Mapper
public interface OperationInformationMapper extends BaseMapper<OperationInformation> {

    /**
     * 查询工序信息列表
     * @param operationInformationVo
     * @return
     */
    List<OperationInformationDto> selectOperationList(OperationInformationVo operationInformationVo);

    /**
     * 根据工序id查询详情
     * @param id
     * @return
     */
    OperationInformationDto operationByIds(Long id);

    /**
     * 根据工序信息id查出列表
     * @param idList
     * @return
     */
    List<OperationInformationDto> selectBatchOperationIds(@Param("idList") List<Long> idList);
}
